package com.hz.cheetah.sample.client;

import com.hz.cheetah.helper.Async;
import com.hz.pushserver.login.entity.LoginEntity;
import com.hz.pushserver.login.entity.LoginResult;
import com.hz.pushserver.login.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import org.springframework.test.annotation.Commit;

/**
 * Created by yangchuan on 16/7/16.
 */
@Component("tta")
public class TTA {

    @Autowired()
    @Qualifier("loginService")
    LoginService loginService;

    public void tt(){
        LoginResult result = loginService.login(new LoginEntity());
        System.out.println(result.hashCode());
    }
}
